package com.gt.xmall.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping(value = "/example/")
public class SampleController extends BaseController {
	@RequestMapping(value = "to/{path}/{page}",method = RequestMethod.GET)
	public String show(@PathVariable("path") String path,@PathVariable("page") String page,Model model){
		
		return path+"/"+page;
		
	}
	
	
}
